<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宿舍生活 - 青春宿舍之家</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <!-- 头部 -->
    <header class="header">
        <div class="logo">青春宿舍</div>
        <nav class="nav-menu">
            <a href="home.html">首页</a>
            <a href="members.html">宿舍成员</a>
            <a href="life.html">宿舍生活</a>
            <a href="stories.html">宿舍故事</a>
            <a href="about.html">关于我们</a>
        </nav>
        <button class="mobile-menu-btn">☰</button>
    </header>

    <!-- Banner -->
    <section class="banner">
        <h1>我们的宿舍生活</h1>
    </section>

    <!-- 主要内容 -->
    <main class="main-content">
        <!-- 宿舍公约 -->
        <section class="section">
            <h2>宿舍公约</h2>
            <div class="convention-grid">
                <div class="convention-card">
                    <h3>✓ 作息时间</h3>
                    <ul>
                        <li>晚上0点后保持安静</li>
                        <li>周末可适当延长至3点</li>
                    </ul>
                </div>
                <div class="convention-card">
                    <h3>✓ 卫生值日</h3>
                    <ul>
                        <li>每天轮流打扫卫生</li>
                        <li>每周一次大扫除</li>
                    </ul>
                </div>
                <div class="convention-card">
                    <h3>✓ 用电安全</h3>
                    <ul>
                        <li>禁止使用大功率电器</li>
                        <li>离开宿舍时关闭电源</li>
                    </ul>
                </div>
            </div>
        </section>

        <!-- 宿舍活动 -->
        <section class="section">
            <h2>宿舍活动</h2>
            <div class="activity-grid">
                <div class="activity-card">
                    <img src="Jimg2.jfif" alt="宿舍日常">
                    <div class="activity-content">
                        <h3>宿舍活动</h3>
                        <p>十里金滩游玩</p>
                        <a href="stories.html#dinner" class="btn">查看详情</a>
                    </div>
                </div>
                <div class="activity-card">
                    <img src="Jimg3.jfif" alt="旅行活动">
                    <div class="activity-content">
                        <h3>万宁旅行</h3>
                        <p>万宁石梅湾</p>
                        <a href="stories.html#travel" class="btn">查看详情</a>
                    </div>
                </div>
                <!-- 更多活动卡片 -->
            </div>
        </section>

        <!-- 宿舍趣事 -->
        <section class="section">
            <h2>宿舍趣事</h2>
            <div class="funny-stories">
                <div class="story-item">
                    <h3>“打游戏大喊大叫”</h3>
                    <p>某天晚上，陈德广打王者农药队友太坑，在床上暴怒大喊大叫</p>
                </div>
                <div class="story-item">
                    <h3>“早起的鸟儿有虫吃”</h3>
                    <p>陈德广为了上早八，凌晨5点起床，结果发现闹钟调错了</p>
                </div>
                <!-- 更多趣事 -->
            </div>
        </section>
    </main>

    <!-- 底部 -->
    <footer class="footer">
        <p>© 2025 青春宿舍 保留所有权利</p>
        <p>联系我们: 1008611</p>
    </footer>

    <script src="JavaScript.js"></script>
</body>
</html>